﻿<%@ Page Language="C#" MasterPageFile="~/Frame.master" AutoEventWireup="true" CodeFile="shiftGrant.aspx.cs"
    Inherits="shiftGrant" Title="Untitled Page" %>

<script runat="server">

   
</script>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleHolder" runat="Server">
    Gán ca trực  
<style>
th,td{border-color:#f0f0f0 1px solid}
th{height:22px;}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentHolder" runat="Server">

    <script type="text/javascript">



</script>
    
    <table border="0" cellspacing="0" cellpadding="0" class="margin_l50" width="870">
        <tr>
            <td align="left" width="400" valign="top">
                <table width="400" border="0" cellpadding="0" cellspacing="0" class="margin_b5">
                    <tr>
                        <td align="left" valign="top" class="titleInfo">
                            Thông tin nhân viên
                        </td>
                    </tr>
                </table>
                <table width="400" border="0" cellspacing="0" cellpadding="5" class="margin_l20 margin_b10">
                    <tr>
                        <td width="150" align="left" valign="top" class="dot">
                            Mã NV: <strong>
                                <asp:Label ID="lblCode" runat="server" Text=""></asp:Label></strong>
                        </td>
                        <td align="left" valign="top" class="dot">
                            Tên NV: <strong>
                                <asp:Label ID="lblFullName" runat="server" Text=""></asp:Label></strong>
                        </td>
                    </tr>
                    <tr>
                        <td align="left" valign="top" class="dot">
                            Tài khoản: <strong>
                                <asp:Label ID="lblUser" runat="server" Text=""></asp:Label></strong>
                        </td>
                        <td align="left" valign="top" class="dot">
                            Chức vụ: <strong>
                                <asp:Label ID="lblPosition" runat="server" Text=""></asp:Label></strong>
                        </td>
                    </tr>
                </table>
            </td>
            <td align="right" valign="top">
            <asp:UpdatePanel ID="upnDate" runat="server">
                <ContentTemplate>
            <asp:Label ID="lblMsg" runat="server" ForeColor="#FF3300"></asp:Label>
                <table width="400" border="0" cellpadding="0" cellspacing="0" class="margin_b5">
                    <tr>
                        <td align="left" valign="top" class="titleInfo">
                            Gán ca trực
                        </td>
                    </tr>
                </table>
                
                
                <table width="390" border="0" cellpadding="0" cellspacing="0" class="margin_b5">
                    <tr>
                        <td align="left" valign="top">
                            Tháng <asp:DropDownList ID="ddlMonth" runat="server" AutoPostBack="True" 
                                ontextchanged="ddlMonth_TextChanged">
                                <asp:ListItem>01</asp:ListItem>
                                <asp:ListItem>02</asp:ListItem>
                                <asp:ListItem>03</asp:ListItem>
                                <asp:ListItem>04</asp:ListItem>
                                <asp:ListItem>05</asp:ListItem>
                                <asp:ListItem>06</asp:ListItem>
                                <asp:ListItem>07</asp:ListItem>
                                <asp:ListItem>08</asp:ListItem>
                                <asp:ListItem>09</asp:ListItem>
                                <asp:ListItem>10</asp:ListItem>
                                <asp:ListItem>11</asp:ListItem>
                                <asp:ListItem>12</asp:ListItem>
                            </asp:DropDownList>
                            &nbsp;&nbsp;&nbsp;Năm 
                            <asp:DropDownList ID="ddlYear" runat="server" 
                                AutoPostBack="True" ontextchanged="ddlYear_TextChanged">
                            </asp:DropDownList>
                        </td>
                        <td> <asp:UpdateProgress ID="UpdateProgress1" runat="server">
                            <ProgressTemplate>
                                <img src="images/spinner.gif" />
                            </ProgressTemplate>
                        </asp:UpdateProgress></td>
                    </tr>
                </table>
                <asp:GridView ID="gvShift" runat="server" CellPadding="2" CellSpacing="1"
                     Width="390" 
                     HeaderStyle-Height="20" 
                     BorderColor="#c7c5c5"
                     CssClass="margin_b10"
                     AlternatingRowStyle-HorizontalAlign="Center"
                     RowStyle-HorizontalAlign="Center" 
                     HeaderStyle-BackColor="#f0f0f0" 
                     AlternatingRowStyle-CssClass="tableContentEven" 
                        onrowdatabound="gvShift_RowDataBound" >
                </asp:GridView>
                </ContentTemplate>
                </asp:UpdatePanel>
                <table cellpadding="0" cellspacing="0" border="0" width="390">
                    <tr>
                        <td align="left" valign="top">
                             <asp:ImageButton ID="btnSave" runat="server" ImageUrl="~/images/luu.gif" 
                                 onclick="btnSave_Click" />
                             <asp:ImageButton ID="btnCancel" 
                                 runat="server" ImageUrl="~/images/huy.gif" 
                    OnClick="btnCancel_Click" CausesValidation="False" />
                
                &nbsp;<asp:HiddenField ID="hdnEmployeeId" runat="server" />
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</asp:Content>
